package com.uneed.api;

import java.io.Serializable;
import java.util.Date;


public class Review implements Serializable {
	
	private static final long serialVersionUID = 8517633545835124350L;
	
//	public static Review emptyReview = new Review();

	private int sid;
	private int rid;
	private String username ;
	private int sort1;
	private String pictures;
	private String content;
	private long time;
	
	public static Review emptyShop = new Review();
	
	  public Date time()
	  {
	    return new Date(this.time);
	  }
	
	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public Review(int rid, String username, String content,long time)
	{
		this.rid = rid;
		this.username = username;
		this.content = content;
		this.time = time;
	}
	
	public Review() {
		// TODO Auto-generated constructor stub
	}

	public int getSid() {
		return sid;
	}
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getSort1() {
		return sort1;
	}
	public void setSort1(int sort1) {
		this.sort1 = sort1;
	}
	public String getPictures() {
		return pictures;
	}
	public void setPictures(String pictures) {
		this.pictures = pictures;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	

}
